/**
 * 
 */
package com.feib.stms.dao;

import java.util.List;

import com.feib.stms.model.BusinessDay;

import java.util.Date;

/**
 * @author Lion Gao
 *
 */
public interface BusinessDayDao {
	
	/**
	 * 按照年和月查詢營業日
	 * @param year
	 * @param month
	 * @return
	 */
	public List<BusinessDay> getBusinessDayByDate(String year, String month);
	
	/** 刪除營業日
	 * @param year
	 * @param month
	 * @return
	 */
	public int delete(String year, String month);
	
	/** 新增營業日
	 * @param businessDay
	 * @return
	 */
	public int insert(BusinessDay businessDay);
	
	
	public Date getNextBusinessDay(Date day);
}
